<?php for($i=1;$i<8;$i++){ ?>
  <div class="col-xs-4">
    <a href="./repair_detail.php">
    <div class="section-item tran3" >
      <div class="item-img " style="background-image:url(../../assets/img/equ.jpg)" ></div>
      <div class="item-caption op6">
        <p class="caption-title">维修记录</p>
        <p class="caption-subtitle oneline">维修时间</p>
      </div>
    </div>
    </a>
  </div>  
<?php } ?>